package com.windgo.mapper;

import com.windgo.bean.MarketUser;
import com.windgo.bean.common.User;
import com.windgo.bean.wxVo.UserInfoEntity;
import com.windgo.bean.wxVo.WxRegistVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author doublec
 * @since 2022/10/11 17:24
 */

public interface UserMapper {
    List<User> select(@Param("username") String username,
                      @Param("sort") String sort,
                      @Param("order") String order);


    String selectUserByUserName(String username);

    String selectUserByMobile(String mobile);

    int insertSelective(MarketUser marketUser);


    UserInfoEntity selectByUsername(String username);

    int updateByMobileSelective(MarketUser marketUser);
}
